package homework.exp02;

import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.Scanner;
import java.util.regex.Pattern;

public class C {
    static Scanner cin = null;

    static {
        try {
            cin = new Scanner(new FileInputStream(new File("C.in")));
        } catch (IOException e) {
            cin = new Scanner(System.in);
        }
    }

    final static String BAD_CAR_NUMBER = "^.*13.*$";

    public static void main(String[] args) {
        int T = Integer.parseInt(cin.nextLine());
        for (int cas = 1; cas <= T; ++cas) {
            System.out.print(String.format("Case #%d: ", cas));
            String carNumber = cin.nextLine().trim();
            if (Pattern.matches(BAD_CAR_NUMBER, carNumber)) {
                System.out.println("No, it's terrible!");
            } else {
                System.out.println("Yes, I like it!");
            }
        }
        if (cin != null) cin.close();
    }


}